package controller.link;

import view.client.Console;
import model.Hearer;
import java.io.Serializable;
import controller.Link;
import model.Attendant;
import model.Server;

public class Chat implements Link, Serializable {

    private String message;

    public Chat(String message) {
        this.message = message;
    }

    public Chat(Hearer h, String message) {
        this.message = message;
        h.send((Link) this);
    }

    @Override
    public void serverUse(Server server, Attendant at) {
    }

    @Override
    public void clientUse(Console console) {
    }
}
